<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>RKNPU DDK: InputInfo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RKNPU DDK
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacerk.html">rk</a></li><li class="navelem"><a class="el" href="namespacerk_1_1nn.html">nn</a></li><li class="navelem"><a class="el" href="structrk_1_1nn_1_1_input_info.html">InputInfo</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">InputInfo Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="exection_8h_source.html">exection.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#aafd95f8c7a99b9189ede7cdf0871ebe8">index</a></td></tr>
<tr class="memdesc:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="mdescLeft">&#160;</td><td class="mdescRight">the input index, filled by user  <a href="#aafd95f8c7a99b9189ede7cdf0871ebe8">More...</a><br /></td></tr>
<tr class="separator:aafd95f8c7a99b9189ede7cdf0871ebe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc5fa69bee375df074734a2c4858604"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#a5bc5fa69bee375df074734a2c4858604">buf</a></td></tr>
<tr class="memdesc:a5bc5fa69bee375df074734a2c4858604"><td class="mdescLeft">&#160;</td><td class="mdescRight">input buffer, users should manage this buffer by themselves, including allocation and release.  <a href="#a5bc5fa69bee375df074734a2c4858604">More...</a><br /></td></tr>
<tr class="separator:a5bc5fa69bee375df074734a2c4858604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td></tr>
<tr class="memdesc:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="mdescLeft">&#160;</td><td class="mdescRight">the size of input buffer, filled by user  <a href="#ab2c6b258f02add8fdf4cfc7c371dd772">More...</a><br /></td></tr>
<tr class="separator:ab2c6b258f02add8fdf4cfc7c371dd772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae935266c233bafa4ca0153906ef15a16"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#ae935266c233bafa4ca0153906ef15a16">pass_through</a></td></tr>
<tr class="separator:ae935266c233bafa4ca0153906ef15a16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8481bea28d86256005cd19236e1a7f89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#a8481bea28d86256005cd19236e1a7f89">type</a></td></tr>
<tr class="memdesc:a8481bea28d86256005cd19236e1a7f89"><td class="mdescLeft">&#160;</td><td class="mdescRight">precision type of input data, filled by user  <a href="#a8481bea28d86256005cd19236e1a7f89">More...</a><br /></td></tr>
<tr class="separator:a8481bea28d86256005cd19236e1a7f89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e351601ce2a4a65f7944e445f3a32af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_input_info.html#a3e351601ce2a4a65f7944e445f3a32af">layout</a></td></tr>
<tr class="separator:a3e351601ce2a4a65f7944e445f3a32af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Input info used by exector-&gt;SetInputs(inputs) </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00023">23</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a5bc5fa69bee375df074734a2c4858604"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* buf</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>input buffer, users should manage this buffer by themselves, including allocation and release. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00027">27</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="aafd95f8c7a99b9189ede7cdf0871ebe8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t index</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the input index, filled by user </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00025">25</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e351601ce2a4a65f7944e445f3a32af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a> layout</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Layout of input data, filled by user. Currently the internal input format of NPU is NCHW by default. so entering NCHW data can avoid the format conversion in the driver. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00045">45</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae935266c233bafa4ca0153906ef15a16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t pass_through</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>pass through mode. if TRUE, the buf data is passed directly to the input node of the rknn model without any conversion. the following variables do not need to be set. if FALSE, the buf data is converted into an input consistent with the model according to the following type and fmt.</p>
<p>Reserved field, please set to Fasle. </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00038">38</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab2c6b258f02add8fdf4cfc7c371dd772"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the size of input buffer, filled by user </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00029">29</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8481bea28d86256005cd19236e1a7f89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a> type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>precision type of input data, filled by user </p>

<p>Definition at line <a class="el" href="exection_8h_source.html#l00040">40</a> of file <a class="el" href="exection_8h_source.html">exection.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="exection_8h_source.html">exection.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
